<template>
    <div class="container">
        <div class="head">
            <pan>简易记账软件</pan>
        </div>

        <div class="login">
            <el-input v-model="input" style="width: 240px;" placeholder="用户名：" />
            <br />
            <el-input v-model="password" style="width: 240px;margin-top: 10px;margin-bottom: 10px;" type="password"
                placeholder="密码：" show-password />
            <br />
            <el-button type="primary" round>注册</el-button>
            <el-button type="success" round>登录</el-button>
        </div>
    </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
const input = ref('')
const password = ref('')
</script>

<style>
.login {
    border: 1px red solid;

}

.head {
    margin: 0 auto;
    margin-top: 99px;
    font-size: 80px;
    font-weight: bold;
    text-align: center;
    color: transparent;
    /* 文字颜色透明 */
    -webkit-text-stroke: 2px green;
    /* 描边宽度和颜色 */
    /* text-stroke: 2px red;        标准属性（部分浏览器支持） */

}

.container {
    /* background-color: skyblue; */
    /* display: flex; */
    /* justify-content: center; */
    /* 水平居中 */
    /* align-items: center; */
    /* 垂直居中 */
    /* height: 100vh; */
    /* 视口高度 */
}

body {
    background-color: skyblue;
    margin: 0;
    /* 移除默认边距 */
    min-height: 100vh;
    /* 确保背景覆盖整个视口高度 */
}
</style>